﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.Business.Entity.Model;

namespace Tauren.Business.DLL.WorkBenchDLL
{
    public interface IWorkBenchBusiness : Base.IBaseDLL
    {
        /// <summary>
        /// 获取所有的流程工作台
        /// </summary>
        /// <returns></returns>
        List<WorkBench> GetFlowWorkBenches();

        /// <summary>
        /// 新增工作台
        /// </summary>
        /// <param name="workBenches"></param>
        /// <returns></returns>
        bool AddFlowWorkBenches(List<WorkBench> workBenches);

        /// <summary>
        /// 获取所有流程
        /// </summary>
        /// <param name="flowids"></param>
        /// <returns></returns>
        List<WorkFlowInfo> GetWorkFlowInfos(long[] flowids = null);
    }
}
